#!/bin/bash
# =============================================================================
#      FileName: test.sh
#          Desc: 
#        Author: joseph_lee
#         Email: joseph_lee2633@163.com
#      HomePage: 
#       Version: 0.0.1
#    LastChange: 2014-04-28 20:05:42
#       History:
# =============================================================================

install_apt ()
{
	echo $@
	apt-fast install $@ -y --force-yes
	if [ $? != 0 ]; then
		echo -e "\e[5m\e[31mERROR: can't install $@\e[0m"
		exit 1
	fi
}

install_apt expect
echo after install
